﻿namespace Puppy.Scheduler.Processors
{
    /// <summary>
    /// Processor执行结果
    /// </summary>
    public class ProcessResult
    {
        public bool IsSuccess { get; set; } = false;

        public string Result { get; set; }

        public ProcessResult() { }

        public ProcessResult(bool isSuccess)
        {
            IsSuccess = isSuccess;
        }

        public ProcessResult(bool isSuccess, string result)
        {
            IsSuccess = isSuccess;
            Result = result;
        }
    }
}
